package com.financing.wap.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IProductNoticeDao;
import com.financing.wap.dto.ProductNoticeDTO;
import com.financing.wap.service.IProductNoticeService;
import com.financing.wap.vo.ProductNoticeVO;


@Repository("productNoticeServiceImpl")
public class ProductNoticeServiceImpl extends BaseServiceImpl implements IProductNoticeService {

	@Autowired
	private IProductNoticeDao productNoticeDao;
	
	@Override
	public List<ProductNoticeDTO> queryProductNotice(ProductNoticeVO notice) throws Exception {
		return productNoticeDao.queryProductNotice(notice);
	}
	
	@Override
	public int queryProductNoticeCount(ProductNoticeVO notice) throws Exception {
		return productNoticeDao.queryProductNoticeCount(notice);
	}

}
